ShortPixel\Controller\AdminNoticesController D

Total Complexity 153
Dependencies 8
Dependents 9
Total lines 976
Lines of code 627
Logical lines of code 359
Comment lines 137
Methods 39
Properties 3

Methods 39

Method Rating Maintainability Complexity Lines of code
doAPINotices()
B
45 17 38
parse_readme_content()
A
44 15 45
displayNotices()
A
43 12 47
doQuotaNotices()
A
43 11 45
doRemoteNotices()
A
48 10 33
doListViewNotice()
A
49 7 31
proposeUpgradeRemote()
S
47 6 34
getQuotaExceededMessage()
S
43 4 52
get_update_notice()
S
54 6 21
get_remote_notices()
S
50 5 30
doCompatNotices()
S
57 5 17
getConflictMessage()
S
56 5 16
doIntegrationNotices()
S
58 4 14
getMonthAvg()
S
61 4 11
check_admin_notices()
S
60 3 15
doUnlistedNotices()
S
64 4 9
monthlyUpgradeNeeded()
S
62 3 12
parse_update_notice()
S
61 3 12
pluginUpdateMessage()
S
62 3 11
__construct()
S
64 3 8
markdown2html()
S
60 2 14
doHelpOptInNotices()
S
64 2 10
upgradeBulkCallback()
S
72 2 6
getInstance()
S
73 2 5
getHelpOptinMessage()
S
61 1 13
invokeLegacyNotice()
S
59 1 12
getUnlistedMessage()
S
64 1 9
getBulkUpgradeMessage()
S
66 1 7
getMonthlyUpgradeMessage()
S
66 1 7
proposeUpgradePopup()
S
76 1 4
getActivationNotice()
S
66 1 8
reInstateQuotaExceeded()
S
80 1 3
resetLegacyNotice()
S
80 1 3
bulkUpgradeNeeded()
S
71 1 6
resetIntegrationNotices()
S
80 1 3
resetQuotaNotices()
S
74 1 5
resetAPINotices()
S
74 1 5
resetCompatNotice()
S
80 1 3
resetAllNotices()
S
81 1 3